package net.sf.xoperator;

import org.jdom.Namespace;
import org.openbbs.blackboard.NamedZone;
import org.openbbs.blackboard.Zone;

public class Constants {
	
	public final static String ERR_ACC_001 = "ERR_ACC_001: Can not login into main account";

	public final static String ERR_ACC_002 = "ERR_ACC_002: Unable to login, server not reachable";

	public final static String ERR_ACC_003 = "ERR_ACC_003: Can not create account on the proxy server";

	public final static String ERR_ACC_004 = "ERR_ACC_004: Unable to create account, operation not permitted by the server";
	
	public static final String ERR_XSL_001 = "ERR_XSL_001: Unable to transform the SPARQL result";

	public final static String EXC_ACC_001 = "EXC_ACC_001: Password or username is emtpy, unable to login";

	public final static String EXC_ACC_002 = "EXC_ACC_002: Unable to login, username password";

	public final static String EXC_ACC_003 = "EXC_ACC_003: Unable to create account, logged in";
	
	public static final String ERR_COM_001 = "ERR_COM_001: Error replying the transformed result";
	
   public static final Zone CONFIGURATION_ZONE = new NamedZone("CONFIGURATION");
   
   public final static int DEFAULT_JABBER_PORT = 5222;

	public final static String RESOURCE_EXTENSION = "agent";

	public final static String STANDARD_PROXY_ACCOUNT_EXTENSION = "s_agent";

	public static final String DEFAULT_SERVER = "jabber.chaotic.net";
	
	public static final String SPARQL_XMPP_SPEC_URL = "http://www.w3.org/2005/09/xmpp-sparql-binding";

	//public static final String URL_VALIDATION_PATTERN = "\"^(((ht|f)tp(s?))\\://)?((([a-zA-Z0-9_\\-]{2,}\\.)+[a-zA-Z]{2,})|((?:(?:25[0-5]|2[0-4]\\d|[01]\\d\\d|\\d?\\d)(?(\\.?\\d)\\.)){4}))(:[a-zA-Z0-9]+)?(/[a-zA-Z0-9\\-\\._\\?\\,\\'/\\\\\\+&amp;%\\$#\\=~]*)?$";
	
	public static final Namespace HTTP_WWW_W3_ORG_2005_SPARQL_RESULTS = Namespace.getNamespace("res","http://www.w3.org/2005/sparql-results#");
	

}
